package org.hongqi.common.senpec.file.cosClient;

import com.qcloud.cos.model.UploadResult;
import com.qcloud.cos.transfer.MultipleFileUpload;
import org.hongqi.common.senpec.file.fileInfo.FileInfo;
import org.springframework.web.multipart.MultipartFile;

public interface CosClientService {

    // 上传对象
    UploadResult uploadLocalFile();

    FileInfo uploadInputStream(String keyword, MultipartFile file);

    void deleteFile(String bucketName, String key);

    String generateFileUrl(String key);

    String generateFileKey(String fileName);

    MultipleFileUpload uploadDirectory();


}
